package com.example.demo04.service;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.example.demo04.mapper.StStoreOrderMapper;
import com.example.demo04.entity.StStoreOrder;

/**
 * @author admin
 * @Description ${Description}
 * @date 2020-07-18 11:14:00
 */
@Service
public class StStoreOrderService {

    @Resource
    private StStoreOrderMapper stStoreOrderMapper;

    public int deleteByPrimaryKey(String orderId) {
        return stStoreOrderMapper.deleteByPrimaryKey(orderId);
    }

    public int insert(StStoreOrder record) {
        return stStoreOrderMapper.insert(record);
    }

    public int insertSelective(StStoreOrder record) {
        return stStoreOrderMapper.insertSelective(record);
    }

    public StStoreOrder selectByPrimaryKey(String orderId) {
        return stStoreOrderMapper.selectByPrimaryKey(orderId);
    }

    public int updateByPrimaryKeySelective(StStoreOrder record) {
        return stStoreOrderMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(StStoreOrder record) {
        return stStoreOrderMapper.updateByPrimaryKey(record);
    }

}
